package com.bwie.common.exception;

import com.bwie.common.result.Result;
import lombok.Data;
import org.springframework.stereotype.Component;
@Data
public class BusinessException extends RuntimeException{
    private  Result result;

    public BusinessException(Result result) {
        this.result = result;
    }
}
